import fetch from 'common/src/utils/fetch'
import UTILS from "common/src/utils/utils";
function getStudentDetail(data = {}) {
    return fetch({
        url: `/api/scoremanagementservice/scoreChange/getStudentDetail?id=${data.id}&calendarId=${data.calendarId}&no=${data.no}&teachingClassId=${data.teachingClassId}&keepField=${data.keepField}`,
        method: 'get'
    });
}
function getScopeTypeList(data) { // 成绩记录方式对应的值
    return fetch({
        url: '/api/scoremanagementservice/scoreSettingController/queryScoreRecord?coretypeCode=' + data + '&projectId=1',
        method: 'get'
    });
}
function getWorkFlowMessage(code){
    return fetch({
        url: `/api/workflow/approval/selectApproFlow?no=${code}`,
        method: 'get'
    });
}
export default{
    getStudentDetail,
    getWorkFlowMessage,
    getScopeTypeList
}